﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities
{
    public class Album
    {
        public object object_id { get; set; }
        public string aid { get; set; }
        public string cover_pid { get; set; }
        public string cover_object_id { get; set; }
        public int owner { get; set; }
        public string name { get; set; }
        public int created { get; set; }
        public int modified { get; set; }
        public string description { get; set; }
        public string location { get; set; }
        public string link { get; set; }
        public string edit_link { get; set; }
        public int size { get; set; }
        public int photo_count { get; set; }
        public int video_count { get; set; }
        public string visible { get; set; }
        public string type { get; set; }
        public bool can_upload { get; set; }
        public int modified_major { get; set; }

        public List<Photo> Photos { get; set; }
        public Photo CoverPhoto { get; set; }

        public override string ToString()
        {
            return name + ", in " + location;
        }
    }
}
